package cn.iocoder.yudao.module.yyzx.controller.admin.menu_food.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 食物 Response VO")
@Data
@ExcelIgnoreUnannotated
public class Menu_foodRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "23876")
    @ExcelProperty("主键")
    private Integer id;

    @Schema(description = "食物名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("食物名称")
    private String menuName;

    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("数量")
    private Integer nub;

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remarks;

    @Schema(description = "食物类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "大荤")
    @ExcelProperty(value = "食物类型", converter = DictConvert.class)
    @DictFormat("menu_type") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String menuType;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}